///请假记录模型
class AskForLeaveModel {
  AskForLeaveModel({this.date,
    this.leavingStudent,
    this.className,
    this.reasonForLeave,
    this.totalLeaveDays,
    this.leaveStartDate,
    this.leaveDeadline});

  ///日期
  String? date;

  ///请假学生
  String? leavingStudent;

  ///班级
  String? className;

  ///请假原因
  String? reasonForLeave;

  ///合计请假天数
  String? totalLeaveDays;

  ///请假起始日期
  String? leaveStartDate;

  ///请假截止日期
  String? leaveDeadline;

  AskForLeaveModel.formMap(Map map) {
    leavingStudent = map["leavingStudent"];
    className = map["className"];
    reasonForLeave = map["reasonForLeave"];
    totalLeaveDays = map["totalLeaveDays"];
    leaveStartDate = map["leaveStartDate"];
    leaveDeadline = map["leaveDeadline"];
  }
}
